cmake_minimum_required(VERSION 3.10.2)

project("yylRender")

include_directories(
        util
#        render
        glm
#        context
)

add_library(
        yylRender
        SHARED
        simple/TriangleShader.cpp
        render/MyRender.cpp
        shader/VideoShader.cpp
        render/MatrixConvert.cpp
        simple/SimpleShader.cpp
        shader/GLUtils.cpp
        renderJNI.cpp)


find_library(
        log-lib

        log)

target_link_libraries(
        yylRender
#        这里用ES3.0的版本
        android
        EGL
        GLESv3
        ${log-lib})
